//
//  TECommon.h
//  TintExample
//
//  Created by Kevin Wu on 8/31/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>

// Array
//  1 -> group1
//    1 -> example1
//    2 -> example2
//    3 -> example3
//  2 -> group2
//  3 -> group3

id TECreateList();

id TEAddGroup(id list, NSString *name);
id TEGroupByName(id list, NSString *name);
NSString *TENameOfGroup(id group);
NSArray *TEExamplesOfGroup(id group);

id TEAddExample(id examples, NSString *name, Class controller);
id TEExampleByName(id examples, NSString *name);
NSString *TENameOfExample(id example);
Class TEControllerOfExample(id example);
